
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
About keyboard support in MDI applications </TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="apptechp36.htm">Previous</A>&nbsp;&nbsp;<A HREF="apptechp38.htm" >Next</A>
<!-- End Header -->
<A NAME="X-REF352147850"></A><h1>About keyboard support in MDI applications </h1>
<A NAME="TI704"></A><p>PowerBuilder MDI applications automatically support arrow
keys and shortcut keys.</p>
<A NAME="TI705"></A><h4>Arrow keys</h4>
<A NAME="TI706"></A><p>In an MDI frame, how the pointer moves when the user presses
an arrow key depends on where focus is when the key is pressed:</p>
<A NAME="TI707"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><caption>Table 5-2: Arrow key focus changes</caption>
<tr><th  rowspan="1"  ><A NAME="TI708"></A>Key</th>
<th  rowspan="1"  ><A NAME="TI709"></A>If focus is in</th>
<th  rowspan="1"  ><A NAME="TI710"></A>Focus moves to</th>
</tr>
<tr><td  rowspan="4"  ><A NAME="TI711"></A>Left <A NAME="TI712"></A><p></p><A NAME="TI713"></A><p></p><A NAME="TI714"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI715"></A>The menu bar</td>
<td  rowspan="1"  ><A NAME="TI716"></A>The menu item to the left of the item that
has focus</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI717"></A>The first menu bar item</td>
<td  rowspan="1"  ><A NAME="TI718"></A>The control menu of the active sheet</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI719"></A>The control menu of the active sheet</td>
<td  rowspan="1"  ><A NAME="TI720"></A>The control menu of the frame</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI721"></A>The control menu of the frame</td>
<td  rowspan="1"  ><A NAME="TI722"></A>The last menu item</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="4"  ><A NAME="TI723"></A>Right<A NAME="TI724"></A><p></p><A NAME="TI725"></A><p></p><A NAME="TI726"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI727"></A>The menu bar</td>
<td  rowspan="1"  ><A NAME="TI728"></A>The menu item to the right of the item that
has focus</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI729"></A>The last menu bar item</td>
<td  rowspan="1"  ><A NAME="TI730"></A>The control menu of the frame</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI731"></A>The control menu of the frame</td>
<td  rowspan="1"  ><A NAME="TI732"></A>The control menu of the active sheet</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI733"></A>The control menu of the active sheet</td>
<td  rowspan="1"  ><A NAME="TI734"></A>The first item in the menu bar</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="2"  ><A NAME="TI735"></A>Down<A NAME="TI736"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI737"></A>A drop-down or cascading menu</td>
<td  rowspan="1"  ><A NAME="TI738"></A>The menu item below the current item</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI739"></A>The last menu item in the drop-down
or cascading menu</td>
<td  rowspan="1"  ><A NAME="TI740"></A>The first item in the menu</td>
<td>&nbsp;</td>
</tr>
<tr><td  rowspan="2"  ><A NAME="TI741"></A>Up<A NAME="TI742"></A><p></p></td>
<td  rowspan="1"  ><A NAME="TI743"></A>A drop-down or cascading menu</td>
<td  rowspan="1"  ><A NAME="TI744"></A>The menu item above the current item</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI745"></A>The first menu item in a drop-down or
cascading menu</td>
<td  rowspan="1"  ><A NAME="TI746"></A>The last item in the menu</td>
<td>&nbsp;</td>
</tr>
</table>
<A NAME="TI747"></A><h4>Shortcut keys</h4>
<A NAME="TI748"></A><p>PowerBuilder automatically assigns two shortcut keys to every
MDI frame:</p>
<A NAME="TI749"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><caption>Table 5-3: MDI frame shortcut keys</caption>
<tr><th  rowspan="1"  ><A NAME="TI750"></A>Key</th>
<th  rowspan="1"  ><A NAME="TI751"></A>Use to</th>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI752"></A>Ctrl+F4</td>
<td  rowspan="1"  ><A NAME="TI753"></A>Close the active sheet and make the previous
sheet active. The previous sheet is the sheet that was active immediately
before the sheet that was closed.</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI754"></A>Ctrl+F6</td>
<td  rowspan="1"  ><A NAME="TI755"></A>Make the previous sheet the active sheet.</td>
</tr>
</table>

